<h2>Login</h2>
<?php if(!empty($loginFailed)): ?>
	<strong>Login Failed. Please try again</strong>
<?php endif; ?>
<?php echo $form->create(null, array('url' => array('controller' => 'users', 'action' => 'login'))); ?>
	<?php echo $form->input('email', array('label' => 'Email')) ?>
	<?php echo $form->input('password', array('label' => 'Password')) ?>
<?php echo $form->end('Login') ?>

<h3>Don't have an account yet?</h3>
<?php echo $html->link('Sign Up', array('controller' => 'users', 'action' => 'signup')) ?>